home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / compose.6 < prev    next >
Text File  |  1996-07-16  |  1KB  |  38 lines

  1. .TH COMPOSE
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. COMPOSE
  5.  
  6.  
  7.  
  8.  CurveType COMPOSE( CurveType Crv1, CurveType Crv2 )
  9.  
  10.  or
  11.  
  12.  CurveType COMPOSE( SurfaceType Srf, CurveType Crv )
  13.  
  14. Symbolically compute the composition curve Crv1(Crv2(t)) or
  15. Srf(Crv(t)). In Crv1(Crv2(t), Crv1 can be any curve
  16. while Crv2 must be a one-dimensional curve that is either E1 or
  17. P1. In Srf(Crv(t)), Srf can be any surface, while Crv
  18. must be a two-dimensional curve, that is either E2 or P2. Both Crv2
  19. in the curve's composition, and Crv is the surface's composition
  20. must be contained in the curve or surface parametric domain.
  21.  
  22. Example:
  23.  
  24.    srf = sbezier( list( list( ctlpt( E3, 0.0, 0.0, 0.0 ),
  25.                               ctlpt( E3, 0.0, 0.5, 1.0 ),
  26.                               ctlpt( E3, 0.0, 1.0, 0.0 ) ),
  27.                         list( ctlpt( E3, 0.5, 0.0, 1.0 ),
  28.                               ctlpt( E3, 0.5, 0.5, 0.0 ),
  29.                               ctlpt( E3, 0.5, 1.0, 1.0 ) ),
  30.                         list( ctlpt( E3, 1.0, 0.0, 1.0 ),
  31.                               ctlpt( E3, 1.0, 0.5, 0.0 ),
  32.                               ctlpt( E3, 1.0, 1.0, 1.0 ) ) ) );
  33.    crv = coerce( circle( vector( 0.0, 0.0, 1.0 ), 0.4 ), p2 ) *
  34.          trans( vector( 0.5, 0.5, 0.0 ) );
  35.    comp_crv = COMPOSE( srf, crv );
  36.  
  37. compose a circle Crv to be on the surface Srf.
  38.